package com.wiz.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.wiz.to.HQBaseInfoTO;
import com.wiz.vo.criteria.HqSearchCriteriaTO;



/**
 * 总部相关操作接口
 */
public interface HeadquartersService {
	/**
	 * 新建总部
	 * @param hqBaseInfoTO
	 */
	public void add(HQBaseInfoTO hqBaseInfoTO,MultipartFile file)throws Exception;
	public void remove(String hqId)throws Exception;
	public HQBaseInfoTO gethqsById(String hqId)throws Exception;
	public void update(HQBaseInfoTO hqBaseInfoTO,MultipartFile file)throws Exception;
	public List<HQBaseInfoTO> gethqsByCriteriaTO(HqSearchCriteriaTO hqSearchCriteriaTO);
	public int gethqsCntByCriteriaTO(HqSearchCriteriaTO hqSearchCriteriaTO);
	public List<HQBaseInfoTO> getListHq()throws Exception;
}
